package ogs.lib.mina.core.filterchain
{
	import flash.utils.getQualifiedClassName;

	public class IoFilterAdapter implements IoFilter
	{
		
		public function onPreAdd(parent:IoFilterChain, name:String, nextFilter:NextFilter):void
		{
		}
		
		public function onPostAdd(parent:IoFilterChain, name:String, nextFilter:NextFilter):void
		{
		}
		
		public function onPreRemove(parent:IoFilterChain, name:String, nextFilter:NextFilter):void
		{
		}
		
		public function onPostRemove(parent:IoFilterChain, name:String, nextFilter:NextFilter):void
		{
		}
		
		public function sessionOpened(nextFilter:NextFilter):void
		{
			nextFilter.sessionOpened();
		}
		
		public function sessionClosed(nextFilter:NextFilter):void
		{
			nextFilter.sessionClosed();
		}
		
		public function exceptionCaught(nextFilter:NextFilter, cause:Error):void
		{
			nextFilter.exceptionCaught(cause);
		}
		
		public function messageReceived(nextFilter:NextFilter, message:Object):void
		{
			nextFilter.messageReceived(message);
		}
		
		public function filterWrite(nextFilter:NextFilter, message:Object):void
		{
			nextFilter.filterWrite(message);
		}
		
		public function filterClose(nextFilter:NextFilter):void
		{
			nextFilter.filterClose();
		}
		
		public function toString():String
		{
			return getQualifiedClassName(this);
		}

	}
}